From: Adel Gadllah Date: Mon, 9 Apr 2012 16:43:44 +0000 (+0200) Subject: gdm: Skip locked users X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~6689 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=bfbf812148ce49e34a9b8c853bc23f83600709be;p=gnome-shell.git gdm: Skip locked users Don't show locked (disabled) users in the user list. Those are either "system" users with a shell or users disabled in the control-center. https://bugzilla.gnome.org/show_bug.cgi?id=673784 --- diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index 6d4ae2bc4..c00c21442 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -488,6 +488,9 @@ const UserList = new Lang.Class({ if (user.is_system_account()) return; + if (user.locked) + return; + let userName = user.get_user_name(); if (!userName)